
<!DOCTYPE html>
<%@include file="autenticacao.jsp" %>
<html>
    <%@ include file="cabecalho.html"%>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <%
            String tamanho = request.getParameter("fonte");
            if (tamanho == null) {
                tamanho = "8";
            }
            Cookie cookie = new Cookie ("fontSize", tamanho);
            cookie.setMaxAge(365 * 24 * 60 * 60);
            response.addCookie(cookie);
        %>
        <font size="<%=tamanho%>">
        <div>Cadastro de Usuarios</div>
        
        <form action="confirmaCadastroUsuario.jsp" method="GET">
            <table>
                <tr>
                    <td>Nome: </td>
                    <td><INPUT TYPE="TEXT" SIZE="20" ID="nome" NAME="nome"/></td>
                </tr>
                <tr>
                    <td>Login: </td>             
                    <td><INPUT TYPE="TEXT" SIZE="20" ID="login" NAME="login"/></td>
                </tr> 
                <tr>
                    <td>Senha: </td>             
                    <td><INPUT TYPE="PASSWORD" SIZE="20" ID="senha" NAME="senha"/></td>
                </tr> 
            </table>
            <input type=submit value="Cadastrar"> 
            <input type="hidden" name="cmd" value="trataCadastroUsuario" />
        </form>
        <a href="menu.jsp"><- Voltar</a>
    </body>
</html>